package main

import "fmt"

//函数的学习
func main() {
	//a, _ := diyFunc(111)
	//
	//fmt.Println(a)
	//
	//fmt.Println(diyFunc(111))

	n1 := 10
	test1(n1)
	fmt.Println(n1)
}

func diyFunc(a int) (int, int) {
	return a * a, a + a
}

func test1(n1 int) {
	n1 += 1
	fmt.Println(n1)
}
